#include<iostream>
#include<vector>

using namespace std;


int main(){
    vector<int> a;
    vector<int> b;
    for(int i=0;i<5;i++){
        a.push_back(i);
    }
    for(int i=5;i<11;i++){
        b.push_back(i);
    }
    for(vector<int> ::iterator it=a.begin();it!=a.end();it++){
           cout<<*it<<endl;

   }
 //  vector<vector<int>> c;
    //c.push_back(a);
    //c.push_back(b);
    b.swap(a);
   for(vector<int> ::iterator it=a.begin();it!=a.end();it++){
      cout<<*it<<endl;
   }
}